﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using crm_dal.Objects;
using crm_library.Javascript;

namespace crm_web.DataPages
{
    public partial class ViewFollowUp : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {

                Followup displayFollowUp = new Followup(Convert.ToInt32(HttpContext.Current.Session["Selection"]));
                lblUserID.Text = displayFollowUp.UserID.ToString();
                lblContactID.Text = displayFollowUp.ContactID.ToString();
                lblFollowUpByDate.Text = displayFollowUp.FollowupByDate.ToString();
                lblDateFollowedUpOn.Text = displayFollowUp.DateFollowedUpOn.ToString();
                lblResponseType.Text = displayFollowUp.ResponseTypeInt.ToString();
                lblNotes.Text = displayFollowUp.Notes;
            }
            catch (Exception ex)
            {
                Alert.Show(ex.Message, Alert.AlertMessageType.Error);
            }
        }
    }
}